package iceCream.core.base
{
	import flash.display.Sprite;
	
	/**
	 * Project : IceCream
	 * IC_View
	 * @author 赵俊 <zhaojun@crop.the9.com>  
	 * $Id:$
	 * @version 1.0
	 */
	public class IC_View extends Sprite
	{
		public var camera:IC_Camera3D;
		
		public var scene:IC_Scene;
		
		public function IC_View(camera:IC_Camera3D=null,scene:IC_Scene=null)
		{
			if(camera != null)
			{
				this.camera = camera;
			}else
			{
				this.camera = new IC_Camera3D(-1,1,-1,1,0.1,1000);
			}
			if(scene != null)
			{
				this.scene = scene);
			}else
			{
				this.scene = new IC_Scene();
			}
		}
	}
} 
